
#ifndef UI_PRINTPREVIEWOPTIONS_H
#define UI_PRINTPREVIEWOPTIONS_H

#include "ui_ui_printpreviewoptions.h"
#include "..\gui_export.h"

class GUI_EXPORT UI_PrintPreviewOptions : public QWidget, public Ui::UI_PrintPreviewOptions
{
    Q_OBJECT

public:
    UI_PrintPreviewOptions(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0);
    ~UI_PrintPreviewOptions();

public slots:
    virtual void setAction( PF_ActionInterface * a, bool update );
    virtual void updateData();
    virtual void center();
    virtual void setBlackWhite( bool on );
    virtual void fit();
    virtual void scale( const QString & s );

protected:
    WF_PrintPreview* action;

protected slots:
    virtual void languageChange();

private:
    QStringList imperialScales;
    QStringList metricScales;
    bool updateDisabled;

    void init();
    void destroy();

};

#endif // QG_PRINTPREVIEWOPTIONS_H
